package common;

public class Constant {
    public static final String KAFKA_BROKERS = "hadoop162:9092,hadoop163:9092,hadoop164:9092";

    public static final String TOPIC_ODS_LOG = "ods_log";
    public static final String TOPIC_ODS_DB = "ods_db";
    public static final String PHOENIX_DRIVER = "org.apache.phoenix.jdbc.PhoenixDriver";
    public static final String PHOENIX_URL = "jdbc:phoenix:hadoop162,hadoop163,hadoop164:2181";
    public static final String MYSQL_DRIVER = "com.mysql.jdbc.Driver";
    public static final String MYSQL_URL = "jdbc:mysql://hadoop162:3306/edu_config?useSSL=false";


    public static final String CLICKHOUSE_DRIVER = "com.clickhouse.jdbc.ClickHouseDriver";
    public static final String CLICKHOUSE_URL = "jdbc:clickhouse://hadoop162:8123/edu";
    public static final String REDIS_HOST = "hadoop162";
    public static final int REDIS_PORT = 6379;
    public static final int TWO_DAY = 2 * 24 * 60 * 60;

    public static final String TOPIC_DWD_TRAFFIC_START = "dwd_traffic_start";
    public static final String TOPIC_DWD_TRAFFIC_DISPLAY = "dwd_traffic_display";
    public static final String TOPIC_DWD_TRAFFIC_ERR = "dwd_traffic_err";
    public static final String TOPIC_DWD_TRAFFIC_ACTION = "dwd_traffic_action";
    public static final String TOPIC_DWD_TRAFFIC_PAGE = "dwd_traffic_page";
    public static final String TOPIC_DWD_TRAFFIC_APPVIDEO = "dwd_traffic_appVideo";
    public static final String TOPIC_DWD_TRADE_ORDER_DETAIL = "dwd_trade_order_detail";
    public static final String TOPIC_DWD_DWD_REVIEW_INFO = "dwd_review_info";
    public static final String TOPIC_DWD_TRADE_WITH_SOURCE = "dwd_trade_with_source";
    public static final String TOPIC_DWD_TRADE_CART_ADD = "dwd_trade_cart_add";
    public static final String TOPIC_DWD_TRADE_PAY_DETAIL_SUC = "dwd_trade_pay_detail_suc";
    public static final String DWD_EXAM_PAPER_DETAIL = "dwd_exam_paper_detail";
    public static final String DWD_EXAM_QUESTION_DETAIL = "dwd_exam_question_detail";
    public static final String DWS_EXAM_COURSE_SCORE_WINDOW = "dws_exam_course_score_window";
    public static final String DWS_EXAM_PAPER_SCORE_WINDOW = "dws_exam_paper_score_window";
    public static final String DWS_EXAM_QUESTION_SCORE_WINDOW = "dws_exam_question_score_window";
}
